// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeTagKeysRequest.h"

namespace aliyun { namespace Ecs {

DescribeTagKeysRequest::DescribeTagKeysRequest() : RpcAcsRequest("Ecs", "2014-05-26", "DescribeTagKeys") {
}

int64 DescribeTagKeysRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeTagKeysRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeTagKeysRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeTagKeysRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeTagKeysRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeTagKeysRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

int DescribeTagKeysRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeTagKeysRequest::SetPageSize(int PageSize) {
  if(PageSize < 0) {
    return false;
  }
  if(PageSize > 100) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

int DescribeTagKeysRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeTagKeysRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 0) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

const string& DescribeTagKeysRequest::GetResourceType(void) const {
  return ResourceType_;
}
void DescribeTagKeysRequest::SetResourceType(const string& ResourceType) {
  ResourceType_ = ResourceType;
  PutQueryParameter("ResourceType", ResourceType_);
}

const string& DescribeTagKeysRequest::GetResourceId(void) const {
  return ResourceId_;
}
void DescribeTagKeysRequest::SetResourceId(const string& ResourceId) {
  ResourceId_ = ResourceId;
  PutQueryParameter("ResourceId", ResourceId_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
